Command Reference \ General Commands

activateGadget
Gives keyboard focus to a gadget.
activeGadget
Retrieves the gadget which has keyboard focus.
bringToFront
Brings a gadget to the front of the screen.
deleteGadget
Deletes a gadget.
enableXPStyles
Enables or disables XP themes for a gadget.
gadgetClientHeight
Returns the internal or client height of a gadget.
gadgetClientWidth
Returns the internal or client width of a gadget.
gadgetHandle
Returns the window handle of a gadget.
gadgetHeight
Returns the height of a gadget.
gadgetUnderMouse
Returns the gadget which is currently underneath the mouse.
gadgetWidth
Returns the width of a gadget.
gadgetX
Returns the X position of a gadget relative to its parent.
gadgetY
Returns the Y position of a gadget relative to its parent.
getGadgetData
Gets the user defined data associated with a gadget.
getGadgetEnabled
Retrieves whether the gadget is enabled or disabled.
getGadgetText
Retrieves the text of a gadget.
getGadgetVisible
Retrieves whether the gadget is visible or hidden.
getParentGadget
Retrieves the parent of a gadget.
moveGadget
Changes the position of a gadget relative to its parent.
paintGadget
Visually updates a gadget.
positionGadget
Same as moveGadget.
resizeGadget
Changes the size of the gadget.
sendToBack
Sends the gadget to the back of the screen.
setAutoUpdate
Enables or disables automatic redrawing of the gadget.
sendToBack
Sends the gadget to the back of the screen.
setGadget
Repositions and resizes the gadget in one operation.
setGadgetAlign
Changes the way in which the gadget automatically resizes to fit into the parent.
setGadgetColor
Changes the background and text colours used by a gadget.
setGadgetData
Sets the user defined data associated with a gadget.
setGadgetDefaults
Sets the properties gadgets have when they are first created.
setGadgetEnabled
Enables or disables a gadget
setGadgetShape
Sets the outline shape of a gadget.
setGadgetTab
Sets the order in which gadgets are focused using tab-key navigation.
setGadgetText
Sets the text or caption of a gadget.
setGadgetTimer
Enables or disables a timer associated with a gadget.
setGadgetVisible
Hides or shows a gadget.
setGadgetParent
Changes a gadget's parent.
windowHandle
Same as gadgetHandle.